package com.ozo.easy.common.batch.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 批量处理mapper
 *
 * @author ozo
 * @date 2024-12-27
 */
public interface BatchMapper<T> extends BaseMapper<T> {

    /**
     * 自定义批量插入
     *
     * @param list
     * @return
     */
    int insertBatchSomeColumn(@Param("list") List<T> list);

}
